package ma.xin.shi.configurations.Service;

import java.util.ArrayList;
import java.util.List;

public class ServiceFieldConfig {
	/* for test start */
	private String RPCType;
	/* for test end */

	private String RPCName;
    private String RPCSpecificType;
    private int RPCMethodId;
    private String RPCProtocol;

    //private String FieldPropertyName;
    //private String FieldPropertyDataType;
    private String eventGroupName;
    private int eventGroupId;
    private String eventGroupMutiPort;
    private String eventGroupMutiIP;  
    private String eventPara;
    private boolean getterStatus;
    private boolean setterStatus;
    private boolean notifierStatus;
    
    private String getterName;
    private String getterID;
    private String getterProtocol;
    
    private String setterName;
    private String setterID;
    private String setterProtocol;
    
    private String notifierName;
    private String notifierID;
    private String notifierProtocol;

    private List<String> sList = new ArrayList<>();
    private List<String> cList = new ArrayList<>();

    /* for test start */
    public String getRPCType() {
        return RPCType;
    }

    public void setRPCType(String type) {
        this.RPCType = type;
    }
    /* for test end */

    public String getFieldName() {
        return RPCName;
    }

    public void setFieldName(String fieldName) {
        this.RPCName = fieldName;
    }

    public String getRPCSpecificType() {
        return RPCSpecificType;
    }

    public void setRPCSpecificType(String RPCSpecificType) {
        this.RPCSpecificType = RPCSpecificType;
    }    

    public int getFieldId() {
    	return RPCMethodId;
    }

    public void setFieldId(int fId) {
        this.RPCMethodId = fId;
    }

    public String getRPCProtocol() {
        return RPCProtocol;
    }

    public void setRPCProtocol(String RPCProtocol) {
        this.RPCProtocol = RPCProtocol;
    }
    /*
    public String getPropertyName() {
        return FieldPropertyName;
    }

    public void setPropertyName(String PropertyName) {
        this.FieldPropertyName = PropertyName;
    }

    public String getPropertyDataType() {
        return FieldPropertyDataType;
    }

    public void setPropertyDataType(String PropertyDataType) {
        this.FieldPropertyDataType = PropertyDataType;
    }*/

    public String getGroupName() {
        return eventGroupName;
    }

    public void setGroupName(String gName) {
        this.eventGroupName = gName;
    }

    public int getGroupId() {
    	return eventGroupId;
    }

    public void setGroupId(int id) {
        this.eventGroupId = id;
    }
    
    public String getFieldGroupMutiPort() {
        return eventGroupMutiPort;
    }

    public void setFieldGroupMutiPort(String port) {
        this.eventGroupMutiPort = port;
    }
    
    public String getFieldGroupMutiIP() {
        return eventGroupMutiIP;
    }

    public void setFieldGroupMutiIP(String ip) {
        this.eventGroupMutiIP = ip;
    }

    public String getEventPara() {
        return eventPara;
    }

    public void setEventPara(String para) {
        this.eventPara = para;
    }

    
    public boolean getGetterStatus() {
        return getterStatus;
    }

    public void setGetterStatus(boolean status) {
        this.getterStatus = status;
    }

    public boolean getSetterStatus() {
        return setterStatus;
    }

    public void setSetterStatus(boolean status) {
        this.setterStatus = status;
    }

    public boolean getNotifierStatus() {
        return notifierStatus;
    }

    public void setNotifierStatus(boolean status) {
        this.notifierStatus = status;
    }

    //----------
    public String getGetterName() {
        return getterName;
    }

    public void setGetterName(String fetName) {
        this.getterName = fetName;
    }
    
    public String getGetterID() {
        return getterID;
    }

    public void setGetterID(String getID) {
        this.getterID = getID;
    }
    
    public String getGetterProtocol() {
        return getterProtocol;
    }

    public void setGetterProtocol(String Protocol) {
        this.getterProtocol = Protocol;
    }
    
    public String getSetterName() {
        return setterName;
    }

    public void setSetterName(String setName) {
        this.setterName = setName;
    }
    
    public String getSetterID() {
        return setterID;
    }

    public void setSetterID(String setID) {
        this.setterID = setID;
    }

    public String getSetterProtocol() {
        return setterProtocol;
    }

    public void setSetterProtocol(String setProtocol) {
        this.setterProtocol = setProtocol;
    }
    
    public String getNotifierName() {
        return notifierName;
    }

    public void setNotifierName(String notifierName) {
        this.notifierName = notifierName;
    }

    public String getNotifierID() {
        return notifierID;
    }

    public void setNotifierID(String notifierID) {
        this.notifierID = notifierID;
    }

    public String getNotifierProtocol() {
        return notifierProtocol;
    }

    public void setNotifierProtocol(String notifierProtocol) {
        this.notifierProtocol = notifierProtocol;
    }

    //----------
    public List<String> getsList() { return sList; }
    public void setsList(List<String> sList) { this.sList = sList != null ? sList : new ArrayList<>(); }

    public List<String> getcList() { return cList; }
    public void setcList(List<String> cList) { this.cList = cList != null ? cList : new ArrayList<>(); }
}
